{namespace dkpoints.menu.templates}

/**
 * The main page menu.
 */
{template .mainMenu}
<div id="admin_menu_button" class="admin_menu_hidden main-menu-button goog-menu-button goog-inline-block" title="Admin Menu">
  Admin
  <div id="admin_dropdown_menu" class="goog-menu">
   <div id="admin_raid_menuitem" class="goog-menuitem">Add/Update Raid</div>
   <div id="admin_merge_menuitem" class="goog-menuitem">Merge Characters</div>
   <div id="admin_adjustments_menuitem" class="goog-menuitem">Adjustments</div>
   <div class="goog-menuseparator"></div>
   <div id="admin_tiers_menuitem" class="goog-menuitem">Manage Tiers</div>
  </div>
</div>
<div id="standings_menu_button" class="main-menu-button goog-custom-button goog-inline-block">Standings</div>
<div id="raids_menu_button" class="main-menu-button goog-custom-button goog-inline-block">Raids</div>
<div id="raiders_menu_button" class="main-menu-button goog-custom-button goog-inline-block">Raiders</div>
<div id="items_menu_button" class="main-menu-button goog-custom-button goog-inline-block">Items</div>
<div id="adjustments_menu_button" class="main-menu-button goog-custom-button goog-inline-block">Adjustments</div>
<div id="logs_menu_button" class="main-menu-button goog-custom-button goog-inline-block">Logs</div>
<div id="labs_menu_button" class="main-menu-button goog-custom-button goog-inline-block">Labs</div>
{/template}

/**
 * The user is logged in.  Show name and logout link.
 * @param character The character's name
 */
{template .authenticated}
Logged in as: {$character} <a href="/#/auth/logout/">(logout)</a>
{/template}

/**
 * The user is not logged in.  Show login link.
 */
{template .notAuthenticated}
<a href="/#/auth/login/">Log in</a>
{/template}
